# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-stestr
pkgver=3.2.1
pkgrel=2
pkgdesc="A parallel Python test runner built around subunit"
url="http://stestr.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="
	py3-subunit
	py3-voluptuous
	py3-yaml
	python3
	"
makedepends="
	py3-pbr
	py3-setuptools
	py3-testtools
	"
checkdepends="
	py3-cliff
	py3-future
	"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/s/stestr/stestr-$pkgver.tar.gz"
options="!check" # Requires an old package traceback2
builddir="$srcdir/stestr-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
43187ca0d81e3b31e16ed60a1db561dc49c34f679594d11cad8cb0e658bf790af0b3d606bf99233a5767e2511675d3aedb6a476046d2f5483ffab05eaae393ed  stestr-3.2.1.tar.gz
"
